<?php
class Logger {
	
	//INFO = 1
	//DEBUG = 2
	//ERROR = 3
	private static $logLevel = 1;
	
	public static function logError($error) {
		if (self::$logLevel >= 3) {
			echo $error;
		} else {
			echo 'Please contact your administrator for the error.';
		}
	}
	
	public static function logInfo($info) {
		if (self::$logLevel >= 1) {
			echo $info;
		} else {
			echo 'Greater log level required';
		}
	}
}
?>